package com.lihongrui.cate.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.lihongrui.cate.entity.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author lihongrui
 * @create 2022-12-05 22:08
 */
@Mapper
public interface EmployeeMapper extends BaseMapper<Employee> {

    List<Employee> selectName(IPage<Employee> page, @Param("name") String name);
}
